import { FG } from './req'
export const getUserInformation = (obj = { id: '' }) => {
  return FG.get({
    url: '/getuserinfo_userId',
    data: {
      ...obj
    }
  })
}
export const uploadFile = (obj = { file }, callback = () => { }) => {
  return FG.uploadFile({
    url: "/upload_static",
    data: {
      ...obj
    },
    callback: callback
  })
}
export const uploadIfonmation = (obj = {
  phone,
  email,
  gender,
  birthday,
  nickname,
  introduce,
}) => {
  return FG.post({
    url: "/changeuserinfo",
    data: {
      ...obj
    }
  })
}